@mixin mete-mobile {
    @media screen and (max-width: 767px) {
        @content;
    }
}

.collection_item {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;

    .block_product_img_list {
        .img_list {
            .img_list_item {
                border: 1px solid #cbcbcb;
                overflow: hidden;
                border-radius: 50%;
                img{
                    border-radius: 50%;
                }
                &.active {
                    border-color: var(--color-main);
                }
            }
        }
    }

    .moi-start-warp {
        justify-content: center !important;
        flex-wrap: wrap;
        row-gap: 10px;
    }
    @media screen and (min-width: 767px) {
        &:hover{
            .actions-wrapper{
                opacity: 1;
                transform: translateY(0);
             
            }
        }
    }
    

    .actions-wrapper {
        position: absolute;
        display: inline-flex;
        justify-content: center;
        left: 0;
        width: 100%;
        bottom: 0px;
        box-sizing: border-box;
        z-index: 50;
        opacity: 0;
        transform: translateY(calc(40% + 10px));
        transition: opacity .25s ease,transform .25s ease-out;
        @media screen and (max-width: 767px) {
            opacity: 1;
            transform: translateY(0);
            position: relative;
        }
       

        .actions-wrapper-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            line-height: 22px;
            padding: 10px 15px;
            width: 100%;
            box-sizing: border-box;
            width: 100%;
            font-size: 14px;
            font-weight: 700;
            &:hover {
                opacity: .7;
            }
        }
    }

    &>div {
        width: 100%;
    }

    .item-caption {
        margin-top: 16px;

        .item-caption-title {
            color: var(--title_color);
            font-size: var(--product_font_size);
            margin-bottom: 10px;
            text-transform: uppercase;
            @media screen and (max-width: 767px) {
                font-size: 14px;
            }
        }
        .item-caption-price{
            display: inline-flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 8px;
        }

        .collection-product-soldout {
            align-self: flex-start;
            color: #282828;
            padding: 2px 10px;
            font-size: 12px;
            margin-bottom: 5px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 2px;
        }

        .product-info-star {
            flex-wrap: wrap;
            row-gap: 10px;

            .comment-star-base {
                flex-wrap: wrap;
            }
        }

    }

    .product_card-wap-name {
        @include mete-mobile {
            display: none;
        }
    }


    .product_card-picture-crop-11 {
        padding-top: 100%;

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .product_card-picture-crop-34 {
        padding-top: 125%;

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .product_card-picture-crop-23 {
        padding-top: 150%;

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .product_card-picture-crop-12 {
        padding-top: 200%;

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

.collection-product-item {
    display: inline-block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    vertical-align: top;
    .product_card_soldout {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30px;
        line-height: 30px;
        text-align: center;
        z-index: 20;
        background: rgba(0, 0, 0, 0.3);
        color: #fff;
    }

    .collection-product-item-image {
        width: 100%;
        height: 100%;
        opacity: 1;
        object-fit: cover;
        cursor: pointer;
        transition: all cubic-bezier(0, 0, 0.2, 1) 200ms;
    }

    .product_card-tag {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 10;
        color: var(--discount_tag_color);

        .discount_tag_graphics {
            position: absolute;
            right: 0;
        }
    }

    .hover-two {
        opacity: 0;
    }

    .label_style_1 {
        width: 80px;
        height: 80px;
        line-height: 80px;

        .discount_tag_graphics {
            top: 0;
            width: 0;
            height: 0;
            border-top: 80px solid var(--discount_tag_bg);
            border-left: 80px solid transparent;
        }

        .discount_tag_name {
            position: relative;
            top: 6px;
            left: 15px;
            z-index: 9;
            line-height: 18px;
            transform: rotate(45deg);
            width: 80px;
            height: 40px;
            font-size: 14px;
            text-align: center;
        }

        span {
            display: block;
        }
    }

    .label_style_2 {
        padding: 0 0 10px;

        .discount_tag_graphics {
            left: 0;
            bottom: 0;
            width: 40px;
            height: 10px;

            &:before {
                position: absolute;
                right: 0;
                top: 0;
                content: "";
                width: 0;
                height: 0;
                border-top: 10px solid var(--discount_tag_bg);
                border-left: 20px solid transparent;
            }

            &:after {
                position: absolute;
                left: 0;
                top: 0;
                content: "";
                width: 0;
                height: 0;
                border-top: 10px solid var(--discount_tag_bg);
                border-right: 20px solid transparent;
            }
        }

        .discount_tag_name {
            width: 40px;
            text-align: center;
            background: var(--discount_tag_bg);
            padding: 10px 0;
        }
    }

    .label_style_3 {
        height: 80px;
        width: 80px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;

        .discount_tag_name {
            position: relative;
            top: -12px;
            left: 12px;
            z-index: 9;
            line-height: 24px;
            transform: rotate(45deg);
            height: 24px;
            white-space: nowrap;
            background: var(--discount_tag_bg);
            padding: 0px 25px;
        }
    }

    .label_style_4 {
        right: 10px;
        top: 10px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--discount_tag_bg);
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;

        .discount_tag_name {
            line-height: 18px;
            text-align: center;

            span {
                display: block;
            }
        }
    }
}

.main-image {
    opacity: 1;
}

.hover-two {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: scale(1.1);
    transition: transform 1s;
    
}

.animation-hover:hover {
    .main-image {
        opacity: 0;
    }

    .hover-two {
        opacity: 1;
        transform: scale(1);
    }
}